package org.example.erpapiservicespringmongoimpl.mapper;

import org.example.erpapicommon.model.TOrder;
import org.example.erpapiservicespringmongoimpl.doc.OrderDoc;
import org.mapstruct.Mapper;
import org.mapstruct.Mapping;

import java.util.List;
@Mapper(componentModel = "spring")
public interface OrderPageMapper {
    List<TOrder> fromOrderDocToOrders(List<OrderDoc> orderDetailDtoList);
}
